package org.cheniy.infrastructure.persistent.dao;

import org.apache.ibatis.annotations.Mapper;
import org.cheniy.infrastructure.persistent.po.RaffleActivityAccountMonth;

/**
 * @author cheniy
 * @description 抽奖活动账户表-月次数
 * @create 2025/3/19 13:51
 */
@Mapper
public interface IRaffleActivityAccountMonthDao {
    RaffleActivityAccountMonth queryActivityAccountMonthByUserId(RaffleActivityAccountMonth raffleActivityAccountMonthReq);

    int updateActivityAccountMonthSubtractionQuota(RaffleActivityAccountMonth build);

    void insertActivityAccountMonth(RaffleActivityAccountMonth build);

    void addAccountQuota(RaffleActivityAccountMonth raffleActivityAccountMonth);
}
